<?php
$oJobs = JobHandler::getJobs();
$sUrgencies = $oJobs[$_SESSION['iJobID']]->sUrgencies;
?>
<div id="layer_urgency_change" class="hidden" style="visibility: visible;">
<form action="index.php" method="post" name="form_urgency_change">
<input type="hidden" name="sAction" value="job-urgencychange">
<input type="hidden" name="sView" value="job-view">
<input type="hidden" name="iUrgency" value="<?php print $_REQUEST['iUrgency'] ?>">
<table class="boxborder" cellspacing="0">
	<tr>
		<td class="boxhandle" colspan="2"><?php print msg('Change urgency') ?></td>
	</tr>
	<tr>
		<td class="fieldname"><?php print msg('Text') ?>:</td>
		<td class="fieldvalue"><input type="text" name="sCaption" id="focus_job_urgencychange" value="<?php print $sUrgencies[$_REQUEST['iUrgency']] ?>"></td>
	</tr>
	<tr>
		<td class="boxbody" style="text-align: center;" colspan="2">
			<input type="submit" value="<?php print msg('OK') ?>">
			<input type="button" value="<?php print msg('Cancel') ?>" onClick="showBox('job-urgencies');">
		</td>
	</tr>
</table>
</form>
</div>
